import time
from selenium import webdriver
import pytest
from Zk.Zk3.Page.Page2 import Page2



@pytest.fixture
class aCase(Page2):


    def driver(self,driver):
        self.driver=webdriver.Edge()
        self.driver.maximize_window()
        self.driver.get('https://www.jiuxian.com/')
        yield driver
    def test_jiuxian_01(self):
        po=Page2(self.driver)
        po.test_jiuxian_wuliangye()

if __name__ == '__main__':
    pytest.main()